package sj;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class sj2Test {

    @Test
    public void test(){
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        sj2 sj = (sj2)context.getBean("sj");
        System.out.println(sj.getLf());
        System.out.println(sj.getZgl());
    }
}
